package com.ibm.cloud.banking.sample.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * replace desc in here
 *
 * @author HanDong
 * @date 2022/7/28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "oe_pbs_log")
@IdClass(OePbsLogEntityPK.class)
public class OePbsLogEntity {

    @Id
    @Column(name = "id")
    private String id;

    @Id
    @Column(name = "pbs_id")
    private String pbsId;

    @Id
    @Column(name = "serv_type")
    private String servType;
    @Basic
    @Column(name = "pbs_parameter")
    private String pbsParameter;
    @Basic
    @Column(name = "pbs_result")
    private String pbsResult;

}
